package com.fulihui.wgj.dal.impala.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 游戏用户行为
 *
 * @author wang_wx
 * @date 2018-08-06
 */
public interface UserGameBehaviorMapper {

    /**
     * 查询金额
     *
     * @param openId
     * @param secondTag
     * @return
     */
    @Select("SELECT money FROM user_game_behavior WHERE open_id = #{openId} AND second_tag = #{secondTag}")
    Long selectMoney(@Param("openId") String openId, @Param("secondTag") String secondTag);
}
